deploy: Find kernel/initramfs consistently from filesystem
authorColin Walters <walters@verbum.org>
Tue, 21 Apr 2015 02:02:14 +0000 (22:02 -0400)
committerColin Walters <walters@verbum.org>
Sat, 19 Dec 2015 13:24:51 +0000 (08:24 -0500)
commit506a891e36d384cb1343f2da1477c5b07abe6731
treedd361a129f26b71c0eb459afd6b042b0be4755d0
parent6f96571679f5da58072e12d97225480d1a413dd2
deploy: Find kernel/initramfs consistently from filesystem

I'm porting the deployment code to be fd-relative, but part of the
logic was using `GFile` to talk to `OstreeRepoFile` to determine the
"bootcsum" (boot config checksum) before checking out the file tree.

We can avoid having both code paths by checking out the tree first,
then looking at it on the filesystem.
src/libostree/ostree-deployment-private.h [new file with mode: 0644]
src/libostree/ostree-deployment.c
src/libostree/ostree-sysroot-deploy.c